/*
 * Copyright 2010, 2011 by the University of Richmond, Richmond, VA 23173
 * Written by Eric F. Palmer eric@ericfpalmer.com || epalmer@richmond.edu
 * And other contributors
 * http://www.richmond.edu/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Project files reside at http://code.google.com/p/files-2-exist-db
 */

/*
 * this class just sets up configuration values for the application
 *
 * Instantiate this class only once
 * @version 1.0
 * @author epalmer
 */
package edu.richmond.is.webservices.files2exist;

public abstract class AbstractTransform {

	private String folderName;
	private String hostName;
	private int hostPort;
	private String existCollection;
	private String existPathCollectionPrefix;
	private boolean sslExistSite;
	private String existUsername;
	private String existPassword;
	private String fileName;
	private String transformType;
	public String getFolderName() {
		return folderName;
	}
	public void setFolderName(String folderName) {
		this.folderName = folderName;
	}
	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public int getHostPort() {
		return hostPort;
	}
	public void setHostPort(int hostPort) {
		this.hostPort = hostPort;
	}
	public String getExistCollection() {
		return existCollection;
	}
	public void setExistCollection(String existCollection) {
		this.existCollection = existCollection;
	}
	public String getExistPathCollectionPrefix() {
		return existPathCollectionPrefix;
	}
	public void setExistPathCollectionPrefix(String existPathCollectionPrefix) {
		this.existPathCollectionPrefix = existPathCollectionPrefix;
	}
	public boolean isSslExistSite() {
		return sslExistSite;
	}
	public void setSslExistSite(boolean sslExistSite) {
		this.sslExistSite = sslExistSite;
	}
	public String getExistUsername() {
		return existUsername;
	}
	public void setExistUsername(String existUsername) {
		this.existUsername = existUsername;
	}
	public String getExistPassword() {
		return existPassword;
	}
	public void setExistPassword(String existPassword) {
		this.existPassword = existPassword;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getTransformType() {
		return transformType;
	}
	public void setTransformType(String transformType) {
		this.transformType = transformType;
	}
	public abstract boolean transform() throws Exception;
	
}
